package com.ems.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ems.vo.BaseVo;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 电池簇
 * </p>
 * @author WuZH
 * @since 2024-04-23
 */
@Data
@TableName ("battery_box_info")
@ApiModel (value = "BatteryBoxEntity对象", description = "电池簇")
public class BatteryBoxEntity extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ("id")
    @TableId (value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty ("电池簇/堆编号")
    @TableField ("number")
    private String number;

    @ApiModelProperty ("系统状态：0：正常 1：禁充 2：禁放 3：禁充禁放")
    @TableField ("status")
    private Integer status;

    @ApiModelProperty ("丛及通信状态：0-异常，1-正常")
    @TableField ("salveCommStatus")
    private Integer salveCommStatus;

    @ApiModelProperty ("电池总压")
    @TableField ("voltage")
    private String voltage;

    @ApiModelProperty ("电池额定容量")
    @TableField ("batteryRatedCapacity")
    private String batteryRatedCapacity;

    @ApiModelProperty ("有符号数，充电为负放电为正")
    @TableField ("current")
    private String current;

    @ApiModelProperty ("剩余电量/表示电池还可放电量")
    @TableField ("residueAmount")
    private String residueAmount;

    @ApiModelProperty ("缺少电量/表示电池还缺该电量才满电")
    @TableField ("lackAmount")
    private String lackAmount;

    @ApiModelProperty ("累计充电量")
    @TableField ("totalChargeAmount")
    private String totalChargeAmount;

    @ApiModelProperty ("累计放电量")
    @TableField ("totalDischargeAmount")
    private String totalDischargeAmount;

    @ApiModelProperty ("本次充电量")
    @TableField ("dayChargeAmount")
    private String dayChargeAmount;

    @ApiModelProperty ("本次放电量")
    @TableField ("dayDischargeAmount")
    private String dayDischargeAmount;

    @ApiModelProperty ("电池簇/堆SOC")
    @TableField ("soc")
    private String soc;

    @ApiModelProperty ("电池簇/堆SOH")
    @TableField ("soh")
    private String soh;

    @ApiModelProperty ("最高温度")
    @TableField ("maxTemp")
    private String maxTemp;

    @ApiModelProperty ("最低温度")
    @TableField ("minTemp")
    private String minTemp;

    @ApiModelProperty ("电池簇/堆平均温度")
    @TableField ("avgTemp")
    private String avgTemp;

    @ApiModelProperty ("绝缘电阻KΩ")
    @TableField ("resistance")
    private String resistance;

    @ApiModelProperty ("商户Id")
    @TableField ("merchantId")
    private String merchantId;

    @ApiModelProperty ("最高单体电压")
    @TableField ("maxVoltage")
    private String maxVoltage;

    @ApiModelProperty ("最低单体电压")
    @TableField ("minVoltage")
    private String minVoltage;

    @ApiModelProperty ("平均单体电压")
    @TableField ("avgVoltage")
    private String avgVoltage;

    @ApiModelProperty ("最高单体编号")
    @TableField ("maxSingleNumber")
    private String maxSingleNumber;

    @ApiModelProperty ("最低单体编号")
    @TableField ("minSingleNumber")
    private String minSingleNumber;

    @ApiModelProperty ("最高温度编号")
    @TableField ("maxTempNumber")
    private String maxTempNumber;

    @ApiModelProperty ("最低温度编号")
    @TableField ("minTempNumber")
    private String minTempNumber;

    @ApiModelProperty ("电池压差")
    @TableField ("batteryVoltageDiff")
    private String batteryVoltageDiff;

    @ApiModelProperty ("电池温差")
    @TableField ("batteryTempDiff")
    private String batteryTempDiff;

    @ApiModelProperty ("电池电流绝对值")
    @TableField ("batteryCurrentAbsolute")
    private String batteryCurrentAbsolute;

    @ApiModelProperty("子设备地址")
    @TableField ("deviceAddress")
    private String deviceAddress;

    @ApiModelProperty ("上传时间")
    @TableField ("createTime")
    private Date createTime;

    @TableField ("isUsed")
    private Integer isUsed;


}
